package com.example.demo.service;

import org.apache.tomcat.util.buf.StringUtils;
import org.springframework.stereotype.Service;

@Service
public class TestServiceImpl {

    public String action(String code){
        if("admin".equals(code)){
            return "管理员";
        }

        return "普通用户";
    }
}
